home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / ALL95.LZH / transcript_1003 / text0026.txt < prev    next >
Encoding:
Text File  |  1995-10-04  |  2.3 KB  |  46 lines

  1. >Doing the actual texture mapping should be easy, but figuring out were to
  2. >start in the texture, horizontally and vertically will be worse.
  3. Well, as far as I can remember, there are some data which tell you if the
  4. texture should be aligned on the top or the bottom of the wall pane. As for
  5. the horizontal position, I think it should depend on the actual position on
  6. the map, line or column, depending on which one has the largest slope for
  7. this wall, to give seamless walls. I'm almost sure doom does it this way.
  8.  
  9. >The last changes I made to DVIEW (did I send that version to anyone?) was to
  10. I think I have this one. Do you put version numbers?
  11.  
  12. >stop the player from entering a sector where the height difference was too
  13. >large. Disallowing crossing of walls has to be done in another way, but I've
  14. >not yet figured out exactly how I'll do it.
  15. Doom's way to do it must be very approximate, because sometimes, when you
  16. move along a wall, it seems like you bump on lines or columns, see what I
  17. mean? You move away, then closer, then away. It's not very smooth. You must
  18. have a table telling you all the objects that are contained in each square
  19. of a map (independant from ssectors). This table's initial state is in the
  20. WAD. The easiest way must be to check all the walls that are in the same
  21. square as you. The same algo will rule the behaviour of monsters,
  22. projectiles, etc.
  23.  
  24. >The same DVIEW version can draw the walls it's considering in 2D with
  25. >different colours depending on when they're clipped. The map rotates when
  26. >you turn around so that 'up' is always in front of you. Looks really nifty!
  27. How do you bring that to the screen?
  28.  
  29. >I'll try to get a screen dump of a really bad case for you.
  30. Yes, please do so. My mailer supports MIME.
  31.  
  32. Bye for now.
  33.  
  34. Bertrand
  35. +-----------------------------------------------------------+
  36. |Bertrand Le Roy      |A Darwinian theory of Gravitation:   |
  37. |bleroy@ccr.jussieu.fr|In the beginning,  mature apples fell|
  38. |tel. 44.27.72.95     |in all directions. But only the trees|
  39. |fax. 44.27.72.87     |whose apples fell down have survived.|
  40. +-----------------------------------------------------------+
  41. |Laboratoire de Gravitation et Cosmologie Relativistes      |
  42. |Universite Pierre et Marie Curie, tour 22-12, 4e etage     |
  43. |4, place Jussieu, 75252 Paris Cedex 05                     |
  44. +-----------------------------------------------------------+
  45.  
  46.